home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
GRAPHICS
/
IMAGE_1-.SPK
/
!Image
/
Docs
/
P6
< prev
next >
Wrap
Text File
|
1994-03-28
|
7KB
|
148 lines
The Colour Control Window
-------------------------
The Colour Control Window allows you to globally change aspects of
colour, and/or brightness, within a picture.
On the left hand side of the window is a graph (initially a straight
line) which allows you to specify complex conversion functions (see
below). To the right of this is a bank of options marked :
Intensity - When selected operations on the intensity of the image.
RGB - When selected operations work on the three colour
components separately.
Red - When selected operations work on the red component only.
Green - When selected operations work on the green component only.
Blue - When selected operations work on the blue component only.
Below this is a collection of icons which define the number of points
the graph has (between 1 and 20).
The graph works as follows. Each pixel is taken in turn and the
relevant value (eg. blue component) is calculated. This value is then
looked up on the graph (along the x-axis) and the corresponding y-axis
value read off. In all cases other than 'Intensity' this value is then
used as the output value for the component - under Intensity the
output value has the input value subtracted from it, and this is then
added to each of the RGB components.
Thus with a straight line graph the output will match the input. Areas
of the graph that are below the straight line will result in the
relevant components being darkened, above the line will be tightened.
You alter the graph by moving the mouse pointer over the point you
wish to move and pressing (and holding) SELECT. Now when you move the
mouse pointer that point will follow the mouse pointer, simply release
the mouse pointer when it is in the correct position.
Say you wish to darken a particular range of areas in a picture, but
you can't tell where they would appear on the graph, the following will
come in very useful. When ever you click on a pixel of a picture
(except when painting) the pixel under the mouse pointer will be taken
and the component (eg. Intensity, blue component, etc.) will be
calculated and the value displayed in an icon along the x-axis, plus
two blue lines will be plotted on the graph (one vertical, the other
horizontal) where that value lies on the graph. By moving the mouse
pointer over an area of a picture the lines will move showing the area
of the graph corresponding to the pixels in that area of the picture.
You can also, if you wish, move the blue lines yourself by clicking
(and holding) ADJUST over the graph, the lines will follow the mouse
pointer until you release the button.
To perform the operation defined by the graph and the component
selection, simply press the icon marked 'Apply'.
Note: Areas of a picture that are masked out will not be affected by
the operation.
Along the bottom of the window are 4 operation buttons that perform
simple tasks (Brighten, Darken, Grey and Equalize). They all work on
Intensity only, and perform the following :
Brighten - Brightens the picture evenly by a small amount
Darken - Darkens the picture evenly by a small amount
Grey - Converts a colour picture to a grey scale picture
Equalize - Attempts to equalize the picture over the whole
intensity range.
Above the 'Equalize' icon is an icon showing a bar graph. Selecting this icon
will produce a graph of the number of pixels in the current input bank with
each intensity.
Gamma Correction
----------------
The writable icon marked 'Gamma :' allows you to enter a gamma
correction value, then pressing the 'Set' icon will create the
corresponding comma correction function in the graph window (using 20
points). Values between 0 and 1 will tend to darken and image, values
above 1 will tend to brighten an image.
Colour Range Mask Control
-------------------------
At the bottom right corner of the graph is a button which contains 4 lines
(one each of white, red, green and blue). Pressing this button will cause the
window to change into the 'Colour Range Control (Mask)' window.
This window allows you to mask out areas of a picture according to colour
(further masking can be carried out using 'Paint' and 'Merge' windows). This
window has many aspects that are similar to the standard colour range control
window, including a graph area and icons controlling whether the operation
works on intensity or raw RGB values.
What is different is that the graph in this window can not be directly
altered by the user (as such) it is mainly for display. When you click SELECT
over any part of the display image the colour under the mouse pointer will be
passed to this window. The graph in the window displays the range of
intensity and red, green and blue components that have been passed in just
such a way since the graph was last reset (a reset button at the bottom left
of the window resets the graph).
The graph is made up of 4 coloured bars, a white bar for intensity, red bar
for red component, etc. Initially all bars are of zero width (and can not be
seen), as you move the mouse pointer over an area of a picture (whilst
holding SELECT) the bars will grow to show the maximum and minimum values for
each of the 4 components.
At the bottom right of the window are icons for controlling the operation
performed by the 'Apply' button. These operations are 'adding to the mask',
'subtracting from the mask', 'making a mask' and 'exclusive or-ing the mask'.
To understand what this window can do for you, suppose you have a picture
with too much red in certain areas. What you'd do is bring up this window,
reset the graph (if necessary) and move the mouse pointer over the areas with
too much red in (whilst holding down SELECT). This builds up a range of red
values in this area (as well as blue, green and intensity values).
Now you need to select the 'Red' icon at the top right of the window and the
'Make' icon at the bottom right. Next press 'Apply', this will cause all
areas of the picture that has red components which are between the range
created above to become masked out of the picture.
What you now want is to 'Invert' the mask. Now only those areas with red
components in the area will be left unmasked. Now you can reduce the red
component in just those areas using (say) the 'Colour Range Control' window as
normal (see above).
Note: When using the 'RGB' setting (top right of the window) only those areas
who's red, green AND blue components between the desired values will be
masked out.
The Ex-Mask Operation
---------------------
On the 'Colour Range Mask Control' window there is an icon marked 'Ex-Mask'.
This icon performs one of the few operation in Image that does NOT preserve
masked areas. In fact it totally destroys masked areas, shifting the picture
to the right of the masked areas over them (shifting in new, black, masked
areas into the right of the picture.
This can be useful for chopping out, say, central columns of a picture, as
well as more complex operations.